The file <filename> could not be added to the Visual Basic project.

This error has the following cause and solution: